package com.dfqy.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class SurveyQues implements Serializable {
    private long id;//编号
    private String title;//标题
    private String sType;//类别
    private String option1;//选项1
    private String option2;//选项2
    private String option3;//选项3
    private String option4;//选项4

    private short opValue1;//选项1分值
    private short opValue2;//选项2分值
    private short opValue3;//选项3分值
    private short opValue4;//选项4分值
    private String poster;//发布人
    private Date postTime;//发布时间
    private String explainaTion;//解释

    public SurveyQues(String title, String sType, String option1, String option2, String option3, String option4, short opValue1, short opValue2, short opValue3, short opValue4, String poster, Date postTime, String explainaTion) {
        this.title = title;
        this.sType = sType;
        this.option1 = option1;
        this.option2 = option2;
        this.option3 = option3;
        this.option4 = option4;
        this.opValue1 = opValue1;
        this.opValue2 = opValue2;
        this.opValue3 = opValue3;
        this.opValue4 = opValue4;
        this.poster = poster;
        this.postTime = postTime;
        this.explainaTion = explainaTion;
    }
}
